package com.timoon.manager.panel.passage;

import java.util.List;

import com.timoon.sample.dao.model.InfoSort;
import com.timoon.sample.dao.model.Passage;
import com.timoon.sample.dao.model.PassagePic;

/**
 *<p>功能:</p>
 *<p></p>
 *<p>Copyright:Copyright(c)2013</p>
 *<p>Company:sky</p>
 *@author 付乐天
 *@version 1.0 */

public interface PassageManagerService {

	List<InfoSort> getInfoSortsByType(Integer type);
	
	List<Passage> getPassagesByType(Integer type);
	
	List<PassagePic> getPassagePicsByPassageId(Integer passageId);
	
	void addOrUpadtePassage(Passage passage,List<PassagePic> passagePics);
	
	void delPassageByIds(List<String> ids);
	
	void delPassagePicById(Integer id);
}
